*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: $--font-size-base;
  line-height: $base--line-height;
  color: $--color-text-primary;
  background-color: #fff;
}

a {
  color: mix(#fff, $--color-primary, 20%);
  text-decoration: none;

  &:focus,
  &:hover {
    color: $--color-primary;
    text-decoration: underline;
  }
}

img {
  vertical-align: middle;
}

:focus,
:hover {
  outline: none;
}

/* Utils
------------------------------ */
[v-cloak] {
  display: none;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.fr {
  float: right !important;
}

.fl {
  float: left !important;
}

.fi {
  float: initial !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto {
  margin-top: auto !important;
}

.mr-auto {
  margin-right: auto !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.ml-auto {
  margin-left: auto !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.w-percent-100 {
  width: 100% !important;
}

.base-line-height {
  line-height: $base--line-height !important;
}

/* Reset element-ui
------------------------------ */
.aui-wrapper {
  .el-card + .el-card {
    margin-top: 5px;
  }

  .el-input__prefix .el-input__icon {
    display: inline-block;
    vertical-align: middle;
  }

  .el-date-editor .el-range-separator {
    width: 8%;
  }

  .el-table th {
    color: $--color-text-primary;
    background-color: $--background-color-base;
  }

  .el-pagination {
    margin-top: 15px;
    text-align: right;
  }
  .menu-fold > .aui-sidebar__inner {
    height: calc(100vh - #{$navbar--height} - 70px - 40px);
  }
}

/* Common
------------------------------ */
// 图标
.icon-svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
  overflow: hidden;
}

// 卡片
.aui-card--fill .el-card__header {
  height: $content--card-header-height;
  line-height: $content--card-header-height - 36px;
}

.aui-card__title {
  font-size: 16px;
}

// 表单
.aui-form__label-icon {
  display: inline-block;
  margin: 0 3px;
  vertical-align: middle;
  font-size: 18px;
  color: $--color-text-secondary;
}

// 按钮
.aui-button--dashed {
  border-style: dashed;

  &:focus,
  &:hover {
    background-color: transparent;
  }

  &-add {
    > span > *[class*="el-icon-"],
    > span > *[class*="icon"] {
      vertical-align: middle;
      font-size: 18px;
      margin-right: 5px;
    }
  }
}

// 主题工具
.aui-theme-tools {
  position: fixed;
  // top: $navbar--height + $content--tabs-header-height + 15px;
  top: $navbar--height;
  right: -210px;
  bottom: 0;
  z-index: 1010;
  width: 210px;
  transition: right 0.3s;

  &--open {
    right: 0;
  }

  &__toggle {
    position: absolute;
    top: 80px;
    left: -40px;
    width: 40px;
    padding: 10px 8px;
    text-align: center;
    font-size: 20px;
    border-right: 0;
    border-radius: $--border-radius-base 0 0 $--border-radius-base;
    color: #fff;
    background-color: $--color-primary;
    cursor: pointer;
  }

  &__content {
    overflow: auto;
    overflow-x: hidden;
    height: 100%;
    padding: 5px 20px 20px;
    border: 1px solid $--border-color-lighter;
    border-radius: $--border-radius-base 0 0 $--border-radius-base;
    background-color: #fff;

    .el-radio {
      display: block;
      margin-left: 0 !important;
      line-height: 28px;
    }
  }

  &__item + &__item {
    margin-top: 15px;
    border-top: 1px solid $--border-color-lighter;
  }
}

/* Layout
------------------------------ */
.aui-wrapper {
  position: relative;
  padding-top: $navbar--height;
}

/* Sidebar fold
------------------------------ */
.aui-sidebar--fold {
  .aui-navbar {
    &__header,
    &__brand {
      width: $sidebar--width-fold;
    }

    &__brand {
      &-lg {
        display: none;
      }

      &-mini {
        display: inline-block;
      }
    }

    &__icon-menu--switch {
      transform: rotateZ(180deg);
    }
    > .menu-fold {
      > .aui-navbar__menu-all {
        > .el-tabs {
          > .el-tabs__header {
            left: $sidebar--width-fold + 30px;
          }
        }
      }
    }
    .aui-navbar__menu-all {
      > .el-tabs {
        > .el-tabs__header {
          left: $sidebar--width-fold;
        }
      }
    }
  }

  .aui-sidebar {
    &__inner {
      width: $sidebar--width-fold + 20px;
      height: calc(100vh - #{$navbar--height});
    }

    &,
    &__menu {
      width: $sidebar--width-fold;
    }

    &__menu > li {
      text-align: center;
    }

    &__menu-icon {
      margin-right: 0;
      font-size: 18px;
    }
  }

  .aui-content {
    &__wrapper {
      margin-left: $sidebar--width-fold;
    }

    &--tabs > .el-tabs > .el-tabs__header {
      left: $sidebar--width-fold;
    }
  }
  .menu-fold > .aui-sidebar__inner {
    height: calc(100vh - #{$navbar--height} - 40px);
  }
}

/* Navbar
------------------------------ */
.aui-navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  display: flex;
  align-items: stretch;
  height: $navbar--height;
  background-color: $--color-primary;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);

  &--colorful {
    .aui-navbar__body {
      background-color: transparent;
    }

    .aui-navbar__menu_active {
      color: #fff;
      background-color: mix(#000, $--color-primary, 15%);
    }
    .aui-navbar__menu-all {
      > .el-tabs {
        > .el-tabs__header {
          > .el-tabs__nav-wrap {
            > .el-tabs__nav-next,
            > .el-tabs__nav-prev {
              color: #fff;
            }
            > .el-tabs__nav-scroll > .el-tabs__nav {
              & > .el-tabs__item {
                color: #fff;
                &:focus,
                &:hover,
                &.is-active {
                  color: #fff;
                  background-color: mix(#000, $--color-primary, 15%);
                  &:after {
                    display: block;
                  }
                }
              }
            }
          }
        }
      }
    }
    .aui-navbar__menu {
      > .el-menu-item,
      > .el-submenu > .el-submenu__title {
        color: #fff;

        &:focus,
        &:hover {
          color: #fff;
          background-color: mix(#000, $--color-primary, 15%);
        }
      }

      > .el-menu-item.is-active,
      > .el-submenu.is-active > .el-submenu__title {
        color: #fff;

        &:focus,
        &:hover {
          color: #fff;
        }
      }

      .el-menu-item i,
      .el-submenu__title i,
      .el-menu-item svg,
      .el-submenu__title svg,
      .el-menu-item .el-dropdown {
        color: #fff !important;
        margin: 0px;
      }

      // .el-menu-item svg {
      //   vertical-align: middle !important;
      //   margin-bottom: 2px;
      // }

      .el-button {
        color: #fff;
        background-color: transparent;
      }
    }

    .aui-navbar__search {
      &-txt {
        .el-input__inner {
          color: #fff;
          border-color: #fff;

          &::-webkit-input-placeholder {
            color: #fff;
          }
        }
      }
    }
  }

  &__header {
    position: relative;
    width: $sidebar--width;
    height: $navbar--height;
    transition: width 0.3s;
  }

  &__brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    margin: 0;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    overflow: hidden;
    transition: width 0.3s;
    background-color: mix(#000, $--color-primary, 15%);

    &-lg,
    &-mini {
      max-width: 100%;
      color: #fff;
      cursor: pointer;

      &:focus,
      &:hover {
        color: #fff;
        text-decoration: none;
      }
    }

    &-mini {
      display: none;
    }
  }

  &__body {
    position: relative;
    display: flex;
    flex: 1;
    background-color: #fff;
    overflow: hidden;
  }
  .menu-fold > .aui-navbar__menu-all > .el-tabs > .el-tabs__header {
    left: $sidebar--width + 30px;
  }
  &__menu {
    background-color: transparent;
    border-bottom: 0 !important;

    a:focus,
    a:hover {
      text-decoration: none;
    }

    .el-menu-item,
    .el-submenu > .el-submenu__title {
      height: $navbar--height;
      padding: 0 15px;
      line-height: $navbar--height;
      border-color: transparent !important;
    }

    .el-menu-item.is-active,
    .el-submenu.is-active > .el-submenu__title {
      color: $--color-text-secondary;

      &:focus,
      &:hover {
        color: $--color-text-primary;
      }
    }

    .el-menu-item {
      svg {
        vertical-align: middle !important;
        margin-bottom: 2px;
      }
      &:focus,
      &:hover {
        .aui-navbar__icon-menu {
          color: $--color-text-primary;
        }

        .el-dropdown {
          color: $--color-text-primary;

          .el-icon-arrow-down {
            transform: rotateZ(180deg);
          }
        }
      }

      * {
        vertical-align: initial;
      }

      .aui-navbar__icon-menu {
        vertical-align: middle;
        font-size: 18px;
      }

      .el-dropdown {
        color: $--color-text-secondary;

        .el-icon-arrow-down {
          width: auto;
          font-size: 12px;
          margin: 0 0 0 5px;
          transition: transform 0.3s;
        }
      }
    }

    .el-badge {
      display: inline;
      z-index: 2;

      &__content {
        line-height: 16px;
      }
    }
  }

  &__search {
    > *[class*="el-icon-"],
    > *[class*="icon"] {
      display: inline-block;
      vertical-align: middle;
    }

    &-txt {
      width: 0;
      transition: width 0.3s, margin-left 0.3s;

      &.is-show {
        width: 210px;
        margin-left: 8px;
      }

      .el-input__inner {
        height: $navbar--height - 20px;
        padding: 0;
        line-height: $navbar--height - 20px;
        border-color: $--color-text-primary;
        border-top: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        background: transparent;
      }
    }
  }

  &__avatar {
    .el-dropdown-link {
      > img {
        width: 30px;
        height: auto;
        margin-right: 5px;
        border-radius: 100%;
        vertical-align: middle;
      }
    }
  }
}

/* Sidebar
------------------------------ */
.aui-sidebar {
  position: fixed;
  top: $navbar--height;
  left: 0;
  bottom: 0;
  z-index: 1020;
  width: $sidebar--width;
  background-color: #fff;
  box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: width 0.3s;
  &__name {
    font-size: 12px;
    font-weight: 700;
    width: 100%;
    height: 70px;
    line-height: 70px;
    padding-left: 20px;
  }
  // 左侧菜单全局调整
  .aui-sidebar__menu,
  > .el-menu--popup {
    .el-menu-item,
    .el-submenu > .el-submenu__title {
      height: 40px;
      line-height: 40px;
      font-size: 12px;
      > .el-submenu__icon-arrow {
        right: calc(#{$sidebar--width-right} + 5px);
      }
    }
    .el-menu,
    .el-submenu.is-opened {
      font-size: 12px;
    }
    .el-menu-item.is-active {
      font-size: 12px;
    }
    .el-submenu.is-active > .el-submenu__title {
      font-size: 12px;
    }
  }
  // 白色配色
  &--white {
    .aui-sidebar__name {
      color: mix(#000, #fff, 80%);
      background-color: mix(#fff, #000, 95%);
    }
  }
  // 黑色配色
  &--dark {
    background-color: $sidebar--background-color-dark;
    .aui-sidebar__name {
      color: mix(#fff, $sidebar--background-color-dark, 80%);
      background-color: mix(#000, $sidebar--background-color-dark, 30%);
    }
    .aui-sidebar__menu,
    > .el-menu--popup {
      background-color: $sidebar--background-color-dark;

      .el-menu-item,
      .el-submenu > .el-submenu__title {
        color: $sidebar--text-color-dark;

        &:focus,
        &:hover {
          color: mix(#fff, $sidebar--text-color-dark, 50%);
          background-color: mix(#fff, $sidebar--background-color-dark, 2.5%);
        }
      }

      .el-menu,
      .el-submenu.is-opened {
        background-color: mix(#000, $sidebar--background-color-dark, 15%);
      }

      .el-menu-item.is-active,
      .el-submenu.is-active > .el-submenu__title {
        color: mix(#fff, $sidebar--text-color-dark, 80%);
      }
    }
  }
  // 灰色配色
  &--grey {
    background-color: $sidebar--background-color-grey;
    .aui-sidebar__name {
      color: mix(#000, $sidebar--background-color-grey, 80%);
      background-color: mix(#000, $sidebar--background-color-grey, 5%);
    }
    .aui-sidebar__menu,
    > .el-menu--popup {
      background-color: $sidebar--background-color-grey;
      .el-menu-item,
      .el-submenu > .el-submenu__title {
        color: $sidebar--text-color-grey;
        &:focus,
        &:hover {
          color: $sidebar--text-color-grey;
          background-color: mix(#fff, #fff, 2.5%);
        }
      }
      .el-menu,
      .el-submenu.is-opened {
        background-color: $sidebar--background-color-grey;
      }
      .el-menu-item.is-active {
        color: mix(#000, $sidebar--background-color-grey, 50%);
        background-color: mix(#fff, #fff, 2.5%);
      }
      .el-submenu.is-active > .el-submenu__title {
        color: mix(#000, $sidebar--background-color-grey, 80%);
      }
    }
  }

  &__inner {
    position: relative;
    z-index: 1;
    width: $sidebar--width + 20px;
    // height: 100%;
    height: calc(100vh - #{$navbar--height} - 70px);
    padding-bottom: 15px;
    overflow-x: hidden;
    overflow-y: scroll;
    transition: width 0.3s;
  }

  &__menu {
    width: $sidebar--width;
    border-right: 0;
    transition: width 0.3s;

    .el-menu-item,
    .el-submenu__title {
      height: $sidebar--menu-item-height;
      line-height: $sidebar--menu-item-height;
    }
  }

  &__menu-icon {
    display: inline-block;
    vertical-align: middle;
    width: 24px !important;
    margin-right: 5px;
    text-align: center;
    font-size: 16px;
    color: inherit !important;
    transition: font-size 0.3s;
  }
}

/* Content
------------------------------ */
.aui-content {
  position: relative;
  padding: $content--padding;
  min-height: calc(100vh - #{$navbar--height});
  max-height: calc(100vh - #{$navbar--height} - #{$content--tabs-header-height});
  &__wrapper {
    position: relative;
    margin-left: $sidebar--width;
    min-height: calc(100vh - #{$navbar--height});
    background-color: $content--background-color;
    transition: margin-left 0.3s;
  }

  > .aui-card--fill > .el-card__body {
    min-height: calc(#{$content--fill-height} - 2px);
  }

  > .aui-card--fill > .el-card__header + .el-card__body {
    min-height: calc(
      #{$content--fill-height} - #{$content--card-header-height} - 2px
    );
  }

  &--tabs {
    padding: $content--tabs-header-height 0 0;
    // margin: $content--tabs-header-height 0 0;
    // padding: 0;
  }

  &--tabs-tools {
    position: fixed;
    top: $navbar--height;
    right: 0;
    z-index: 931;
    min-width: $content--tabs-header-height;
    height: $content--tabs-header-height;
    padding: 0 12px;
    text-align: center;
    font-size: 16px;
    line-height: $content--tabs-header-height;
    background-color: $--background-color-base;
    cursor: pointer;
  }

  &--tabs-icon-nav {
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
  }

  > .el-tabs {
    > .el-tabs__header {
      position: fixed;
      top: $navbar--height;
      left: $sidebar--width;
      right: 0;
      z-index: 930;
      padding: 0 55px 0 15px;
      margin: 0;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      background-color: #fff;
      transition: left 0.3s;

      > .el-tabs__nav-wrap {
        margin-bottom: 0;

        &:after {
          display: none;
        }

        > .el-tabs__nav-next,
        > .el-tabs__nav-prev {
          line-height: $content--tabs-header-height;
        }

        > .el-tabs__nav-scroll > .el-tabs__nav {
          & > .el-tabs__active-bar {
            display: none;
          }

          & > .el-tabs__item {
            height: $content--tabs-header-height;
            padding: 0 15px;
            line-height: $content--tabs-header-height;
            border: 0;
            color: $--color-text-regular;

            &:focus,
            &:hover,
            &.is-active {
              color: $--color-text-primary;
              background-color: $--background-color-base;

              &:after {
                display: block;
              }

              > .el-icon-close {
                color: $--color-text-primary;
              }
            }

            &:after {
              display: none;
              position: absolute;
              bottom: 0;
              left: 0;
              content: "";
              width: 100%;
              height: 2px;
              background-color: $--color-primary;
            }

            + .el-tabs__item {
              margin-left: 1px;
            }

            > .el-icon-close {
              width: 14px;
              margin-left: 15px;
              color: $--color-text-secondary;
            }

            > i.icon {
              display: inline-block;
              vertical-align: middle;
              font-size: 18px;
            }
          }
        }
      }
    }

    > .el-tabs__content {
      padding: $content--padding;

      > .el-tab-pane {
        min-height: calc(#{$content--fill-height-tabs});

        > div > .aui-card--fill > .el-card__body {
          min-height: calc(#{$content--fill-height-tabs} - 2px);
        }

        //> .aui-card--container > .aui-card--main > .aui-card--fill > .el-card__body {
        //  min-height: calc(#{$content--fill-height-tabs} - 2px);
        //}

        // > .aui-card--container > .aui-card--main > .aui-card--fill > .el-card__header + .el-card__body {
        > div > .aui-card--fill > .el-card__header + .el-card__body {
          min-height: calc(
            #{$content--fill-height-tabs} - #{$content--card-header-height} -
              2px
          );
        }

        &.is-iframe {
          height: calc(
            #{$content--fill-height-tabs} + #{$content--padding * 2}
          );
          margin: -$content--padding;
          min-height: auto;

          > .aui-card--fill {
            background-color: transparent;
          }

          > .aui-card--fill > .el-card__header {
            background-color: #fff;
          }

          > .aui-card--fill > .el-card__body {
            height: calc(#{$content--fill-height-tabs} - 2px);
            margin: $content--padding;
            min-height: auto;
            border: $--border-base;
            border-color: $--border-color-lighter;
            border-radius: $--border-radius-base;
            background-color: #fff;
          }

          > .aui-card--fill > .el-card__header + .el-card__body {
            height: calc(
              #{$content--fill-height-tabs} - #{$content--card-header-height} -
                2px
            );
          }
        }
      }
    }
    .uni-tabs-card {
      .el-card__body,
      .el-main {
        padding: 0px;
      }
      // > .aui-card--fill > .el-card__body {
        
      // }
      .el-tabs--card > .el-tabs__header .el-tabs__nav {
        transform: translateX(0px);
        border-top-width: 0px;
        border-left-width: 0px;
        border-radius: 0;
      }
      .el-tabs__content {
        // padding: 20px;
        // padding-top: 0px;
        // padding-bottom: 10px;
        .uni-tabs-content-croll{
          .el-form{
            height: calc(#{$content--fill-height-tabs} - #{$content--card-header-height} -
            45px - 10px);
            padding:0 20px;
            overflow: auto;
            overflow-x: hidden;
          }
          // height: calc(#{$content--fill-height-tabs} - 2px);
        }
      }
     
    }
    .uni-tab-form-bottom {
      width: 100%;
      color: rgb(96, 98, 102);
      // margin-bottom: -12px;
      box-sizing: content-box;
      /* margin-left: -12px; */
      // text-align: center;
      padding: 12px 12px;
      border-top: 1px solid rgb(240, 240, 240);
    }

    max-height: calc(100vh - #{$navbar--height} - #{$content--tabs-header-height});
      overflow: auto;
      overflow-x: hidden;
      /* 美化滚动条样式 */
      &::-webkit-scrollbar {
        width: 7px;
        height: 7px;
        background-color: transparent;
      }
      /*定义滚动条轨道
          内阴影+圆角*/
      &::-webkit-scrollbar-track {
        -webkit-box-shadow: transparent;
        background-color: transparent;
      }
      /*定义滑块
          内阴影+圆角*/
      &::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: none;
        background-color: rgb(224, 224, 224);
      }
      &:hover {
        &::-webkit-scrollbar {
          width: 7px;
        }
        &::-webkit-scrollbar-thumb {
          border-radius: 10px;
          background-color: #ccc;
        }
      }
  }

  // quill富文本编辑器
  .ql-toolbar {
    line-height: 20px;

    &.ql-snow {
      border-color: $--border-color-base;
    }

    .ql-formats {
      margin: 0 5px;
    }
  }

  .ql-container {
    height: 150px;

    &.ql-snow {
      border-color: $--border-color-base;
    }
  }

  .aui-card-list{
    .aui-card-list-left{
      // min-height: calc(#{$content--fill-height-tabs} );
       > .el-card__body {
        padding-top: 0px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        > .title{
          width: 100%;
          height: 40px;
          line-height: 40px;
          background: rgb(248, 248, 248);
          color: rgb(96, 98, 102);
          -webkit-box-sizing: content-box;
          box-sizing: content-box;
          margin: 0 0 12px -10px;
          padding: 0 12px;
          text-align: center;
          border-bottom: 1px solid rgb(240, 240, 240);
        }
        > .search{
          margin-bottom: 10px;
        }
      }
     
    }
    .el-main {
      padding: 0px;
      padding-left: 5px;
    }
    .aui-card-list-body > .el-card__body {
      padding-top: 0px;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 10px;
    }
    
  }
}

.aui-navbar__menu-all {
  position: relative;
  > .el-tabs {
    > .el-tabs__header {
      position: fixed;
      // left: $sidebar--width + 30px;
      left: $sidebar--width;
      right: 0;
      padding: 0 270px 0 15px;
      // padding: 0 270px 0 0px;
      margin: 0;
      transition: left 0.3s;
      > .el-tabs__nav-wrap {
        &:after {
          display: none;
        }

        > .el-tabs__nav-next,
        > .el-tabs__nav-prev {
          color: #909399;
          font-size: 13px;
          line-height: $navbar--height;
        }

        > .el-tabs__nav-scroll > .el-tabs__nav {
          & > .el-tabs__active-bar {
            display: none;
          }

          & > .el-tabs__item {
            padding: 0 15px;
            color: #909399;
            font-size: 13px;
            font-weight: normal;
            height: $navbar--height;
            line-height: $navbar--height;
            &:focus,
            &:hover,
            &.is-active {
              color: #303133;
              // background-color: mix(#000, $--color-primary, 15%);
              &:after {
                display: block;
              }
            }
          }
        }
      }
    }
  }
}
.aui-navbar__menu-all-5{
  > .el-tabs {
    > .el-tabs__header {
      padding: 0 320px 0 15px;
    }
  }
}
/* Page
------------------------------ */
*[class*="aui-page__"] {
  padding-top: 0;

  .aui-content {
    min-height: auto;

    &__wrapper {
      min-height: 100vh;
      margin-left: 0;
    }

    > .aui-card--fill > .el-card__body {
      min-height: calc(100vh - #{$content--padding * 2} - 2px);
    }

    > .aui-card--fill > .el-card__header + .el-card__body {
      min-height: calc(
        100vh - #{$content--padding * 2} - #{$content--card-header-height} - 2px
      );
    }
  }
}
/* crud
------------------------------ */
.crud__menu {
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  width: 100%;
  min-height: 40px;
  height: auto;
  overflow: hidden;
  margin-bottom: 20px;
}

.crud__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.crud__menu .el-form-item {
  margin-bottom: 0px;
}

// el-table td 与 th 对不齐问题解决
body .el-table th.gutter {
  display: table-cell !important;
}
//主内容里的tab
.main-content-border-tabs {
  box-shadow: none !important;
  border: none !important;
  .el-tabs__content {
    overflow: visible;
  }
}
.el-card-contabs .el-card__body {
  padding: 0;
}
.colorful-list {
  overflow: visible;
  list-style: none;
  padding: 0;
  margin: -10px 0 0;
  li {
    float: left;
    width: 25%;
  }
  .el-col {
    overflow: visible;
  }
  &-item {
    height: 100px;
    transition: all 0.4s;
    cursor: pointer;
    &:hover {
      overflow: visible;
    }
    &__icon {
      position: absolute;
      top: 13px;
      left: 0;
      width: 5px;
      height: 20px;
      background-color: $--color-primary;
      transition: all 0.4s;
    }
    &__container {
      padding: 12px 20px;
      margin: 20px 10px;
      background-color: #f7f7f7;
      min-height: 100%;
      position: relative;
      transition: all 0.4s;
      &:hover {
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
        background-color: #fff;
        z-index: 2;
        .colorful-list-item__icon {
          top: 0;
          height: 100%;
          border-radius: 0;
          background-color: $--color-primary;
        }
        h3 {
          white-space: normal;
        }
        p {
          white-space: normal;
        }
        .colorful-list-item__btn {
          display: block;
          color: $--color-primary;
        }
      }
    }
    &__btn {
      margin-top: 15px;
      font-size: 12px;
      text-align: right;
      display: none;
      transition: all 0.3s;
      &:hover {
        opacity: 0.8;
      }
    }
    h3 {
      font-size: 15px;
      font-weight: 400;
      margin: 0;
      line-height: 22px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      transition: all 0.4s;
    }
    p {
      font-size: 12px;
      color: #aaa;
      font-weight: normal;
      margin: 5px 0 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      line-height: 1.5;
      transition: all 0.4s;
    }
    &__desc {
      color: #666;
    }
  }
}
.el-input__inner {
  border: 1px solid mix(#000, #fff, 15%);
}
.el-form-item__label {
  font-size: 12px;
}
.el-radio__label {
  font-size: 12px;
}
.el-tree-node__label {
  font-size: 12px;
}
.el-checkbox__label {
  font-size: 12px;
}
.el-tabs__item {
  font-size: 12px;
}

// 查询高级选项控件样式
.uni-search-toggle {
  display: inline-block;
  color: $--color-primary;
  cursor: pointer;
  font-size: 12px;
  // padding-left: 10px;
}
.uni-scroll {
  overflow: auto;
  overflow-x: hidden;

  &::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: transparent;
  }
  /*定义滚动条轨道
      内阴影+圆角*/
  &::-webkit-scrollbar-track {
    -webkit-box-shadow: transparent;
    background-color: transparent;
  }
  /*定义滑块
      内阴影+圆角*/
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: none;
    background-color: rgb(224, 224, 224);
  }
  &:hover {
    &::-webkit-scrollbar {
      width: 7px;
    }
    &::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background-color: #ccc;
    }
  }
}
.el-form-item__content{
  .form-item-explain {
    font-size: 12px;
    color: #8492a6;
    line-height: 20px;
    position: relative;
    float: left;
    padding-top: 5px;
    padding-bottom: 10px;
  }
}
.el-dialog{
  display: flex;
  flex-direction: column;
  margin:0 !important;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  /*height:600px;*/
  max-height:calc(100% - 30px);
  max-width:calc(100% - 30px);
}
.el-dialog .el-dialog__body{
  flex:1;
  overflow: auto;
  &::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: transparent;
  }
  /*定义滚动条轨道
      内阴影+圆角*/
  &::-webkit-scrollbar-track {
    -webkit-box-shadow: transparent;
    background-color: transparent;
  }
  /*定义滑块
      内阴影+圆角*/
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: none;
    background-color: rgb(224, 224, 224);
  }
  &:hover {
    &::-webkit-scrollbar {
      width: 7px;
    }
    &::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background-color: #ccc;
    }
  }
}

